package com.wudizaba.microservicesdemosystem.module.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 工序表
 * </p>
 *
 * @author wudizaba
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("produce_process")
@ApiModel(value="ProduceProcess对象", description="工序表")
public class ProduceProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工序ID")
    @TableId(value = "process_id", type = IdType.AUTO)
    private Integer processId;

    @ApiModelProperty(value = "工位ID")
    private Integer stationId;

    @ApiModelProperty(value = "工艺ID")
    private Integer craftId;

    @ApiModelProperty(value = "工序顺序")
    private Integer sequence;

    @ApiModelProperty(value = "工序描述")
    private String description;

    @ApiModelProperty(value = "工序状态")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "工序状态")
    private LocalDateTime updateTime;


}
